package io.scnb.lesson001.demo22.test5;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * 使用用户自定义的过滤器对bean进行过滤
 */
@ComponentScan(
        basePackages = "io.scnb.lesson001.demo22.test4",
        useDefaultFilters = false,
        includeFilters = {
                @ComponentScan.Filter(type = FilterType.CUSTOM, value = MyFilter.class)
        }
)
public class ScanBean5 {
}
